﻿//Write an expression that checks if given integer is odd or even.

using System;

class CheckOddOrEvenInt
{
    static void Main()
    {
        Console.Write("Enter number for check: ");
        int number = int.Parse(Console.ReadLine());
        if (number == 0)
        {
            Console.WriteLine("The number is 0, it's neither even, nor odd.");
        }
        else if (number % 2 == 0)
        {
            Console.WriteLine("Your number is even.");
        }
        else
        {
            Console.WriteLine("Your number is odd.");
        }
    }
}
